package org.wpahs.ahn.rssfeed;

import java.util.ArrayList;
import java.util.List;

public class FeedData{
    private String feedUrl;
    private String title;
    private String link;
    private String description;
    private List<FeedEntry> entries = new ArrayList<>();
    public static final String FEEDURL = "feedUrl";
    public static final String DESCRIPTION = "description";
    public static final String LINK = "link";
    public static final String TITLE = "title";

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFeedUrl() {
        return feedUrl;
    }

    public void setFeedUrl(String feedUrl) {
        this.feedUrl = feedUrl;
    }

    public void addEntry(FeedEntry feedEntry){
        this.entries.add(feedEntry);
    }

}